# -*- coding:utf-8 -*-
L = [1,2,44,33,22,0]
res = sorted(L)
print(res)


def reverse_sorted(x,y):
    if x >y:
        return -1
    if x< y:
        return 1
    return 0
res2 = sorted(L,reverse_sorted)
print(res2)

L2 = ['aaa','ccc','fff','bbb' ]
print(sorted(L2))